//
//  TimerDownImage.h
//  NaRiLSVMT
//
//  Created by zhangmeng on 14-9-9.
//  Copyright (c) 2014年 helloyouth.org. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TimerDownImage : NSObject
{
    dispatch_source_t downimageTimer;   //图片刷新定时器
    
    dispatch_source_t flushThumb;       //定时刷新缩略图
}
Strong NSString *templeted;
Assign BOOL startflag;
Copy void (^downDroback)(UIImage *);
//Assign BOOL isExist;
+ (id)sharedInstance;
-(void)stratTimerDownImage;
-(void)stopTimerDownImage;
-(void)stratTimerflushThumb;
-(void)stopTimerflushThumb;
-(void)getUrlImage:(NSString *)templated;
-(void)downCallBackData:(NSString *)templeted CallBack:(void (^)(UIImage *image))callBack;
@end
